#ifndef __SYS_CALL_H__
#define __SYS_CALL_H__

//-------- <<< Use Configuration Wizard in Context Menu >>> -----------------
// <o> OS Interface <0=>NoOS <1=>Win32 <2=> uITRON
// 				<3=>uCOS <4=>FreeRTOS <5=> RL_RTX
//	<i> choose  OS
// <i> Default: RL_RTX
#define OS_TYPE  6

#define  NoOS		0
#define  Win32		1
#define  uITRON		2
#define  uCOS		3
#define  FreeRTOS	4
#define  RL_RTX		5
#define  Pthread	6



void tskp_lock(void);
void tskp_unlock(void);

void tick_sleep(int tick);
void ssleep(int sec);
void msleep(int ms);


#ifdef WIN32
#include <pthread.h>
#endif
#endif

